Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve precision for mean, std, var, cumsum. #90

Merged
merged 4 commits into from
Jul 29, 2024
Merged

Conversation

dcherian
Copy link
Collaborator

np.bincount always accumulates to float64.
So only cast after the division.

np.bincount always accumulates to float64.
So only cast after the division.
@dcherian dcherian mentioned this pull request Jul 27, 2024
2 tasks
@dcherian dcherian changed the title Improve precision for mean, std, var. Improve precision for mean, std, var, cumsum. Jul 28, 2024
@ml31415 ml31415 merged commit 6c499ff into master Jul 29, 2024
4 checks passed
@dcherian dcherian deleted the improve-precision branch July 31, 2024 18:23
dcherian added a commit to xarray-contrib/flox that referenced this pull request Jul 31, 2024
dcherian added a commit to xarray-contrib/flox that referenced this pull request Jul 31, 2024
dcherian added a commit to xarray-contrib/flox that referenced this pull request Aug 2, 2024
* Stricter tolerance in property tests

now that ml31415/numpy-groupies#90 was merged

* skip float32 with cumsum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants